package com.cn.mapper.dao.db5;

import com.cn.bean.dto.DataStructureDto;
import com.cn.bean.dto.StatusOperationDto;
import com.cn.bean.pojo.sys.BusinessStateOperationSub_Table;
import com.cn.bean.pojo.sys.BusinessStatusOperationMainTable;
import com.cn.bean.pojo.sys.DataStructureMainTable;
import com.cn.bean.pojo.sys.DataStructureSub_Table;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StatusOperationDao {

    List<StatusOperationDto>selectStatusOperation(StatusOperationDto statusOperationDto);
    Boolean insertStatusOperationMainTable(BusinessStatusOperationMainTable mainTable);
    Boolean insertStateOperationSubTable(BusinessStateOperationSub_Table subTable);
    Boolean delStatusOperationMain(int id);
    List<StatusOperationDto> selectSub(int id);
    Boolean delStatusOperationSub(int id);
    List<StatusOperationDto> selectAll(StatusOperationDto statusOperationDto);
    Integer getStatusOperationM();
    Integer getStatusOperationSub();
    Boolean updateStatusOperationM(BusinessStatusOperationMainTable mainTable);

}
